package com.domain.dto.test;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRolePermissionDto {
    @NotNull(message = "输入的id为空")
    private Integer id;
    @NotEmpty(message = "输入的名称为空")
    private String name;
    private String description;

    private List<Integer> userArr;
    private List<Integer> permissionArr;
}
